export const detailZiyanData = {
    columnsA: [
        {
            title: '版本号',
            dataIndex: 'versionNumber',
            ellipsis: true
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true,
            slots: { customRender: 'versionName' }
        },
        {
            title: '团队人数',
            width: 150,
            dataIndex: 'teamSize',
            slots: { customRender: 'teamSize' }
        },
        {
            width: 200,
            dataIndex: 'productionCapacity',
            slots: { title: 'customProductionCapacityTitle', customRender: 'productionCapacity' }
        },
        {
            title: '预估点',
            width: 100,
            dataIndex: 'storyPoints'
        },
        {
            title: '预估工时',
            width: 100,
            dataIndex: 'planWorkHours'
        },
        {
            title: '实际有效生产时间',
            width: 140,
            dataIndex: 'effectiveProductionTime'
        },
        {
            title: '利用率',
            width: 80,
            dataIndex: 'usePercent',
            slots: { customRender: 'usePercent' }
        },
        {
            title: '计划需求数',
            width: 100,
            dataIndex: 'planProductCount'
        }, {
            title: '上线需求数',
            width: 100,
            dataIndex: 'onlineProductCount'
        },
        {
            title: '完成率',
            dataIndex: 'completePercent',
            width: 80,
            slots: { customRender: 'completePercent' }
        },
        {
            title: '通过的测试用例',
            width: 120,
            dataIndex: 'passTestCast'
        },
        {
            title: '未执行的测试用例',
            width: 140,
            dataIndex: 'naTestCast'
        },
        {
            title: '不通过的测试用例',
            width: 140,
            dataIndex: 'failTestCast'
        },
        {
            title: '研发中bug数',
            width: 140,
            dataIndex: 'randdBugCount'
        }
    ],
    columnsB: [
        {
            title: '需求类型',
            width: 100,
            dataIndex: 'requireType',
            slots: { customRender: 'requireType' }
        },
        {
            title: '产品需求',
            dataIndex: 'requireName',
            ellipsis: true
        },
        {
            title: '预发布版本号',
            dataIndex: 'relateVersionNumber',
            width: 100
        },
        {
            title: '状态',
            dataIndex: 'status',
            width: 80,
            slots: { customRender: 'status' }
        },
        {
            title: '有效生产时间（h）',
            width: 140,
            dataIndex: 'effectiveProductionTime'
        },
        {
            title: '计划上线',
            dataIndex: 'expectTime',
            width: 120,
            slots: { customRender: 'expectTime' }
        },
        {
            title: '未上线说明',
            dataIndex: 'statisticsOpinion',
            width: 330,
            ellipsis: true,
            slots: { customRender: 'statisticsOpinion' }
        }
    ],
    columnsC: [
        {
            title: '需求类型',
            width: 100,
            dataIndex: 'requireType',
            slots: { customRender: 'requireType' }
        },
        {
            title: '产品需求',
            dataIndex: 'requireName',
            ellipsis: true
        },
        {
            title: '预发布版本号',
            width: 100,
            dataIndex: 'relateVersionNumber'
        },
        {
            title: '状态',
            dataIndex: 'status',
            width: 80,
            slots: { customRender: 'status' }
        },
        {
            title: '有效生产时间（h）',
            width: 140,
            dataIndex: 'effectiveProductionTime'
        },
        {
            title: '计划上线',
            dataIndex: 'expectTime',
            width: 120,
            slots: { customRender: 'expectTime' }
        },
        {
            title: '实际上线',
            dataIndex: 'versionOnlineTime',
            width: 120,
            slots: { customRender: 'versionOnlineTime' }
        },
        {
            title: '数据分析',
            dataIndex: 'riskCount',
            width: 130,
            slots: { customRender: 'riskCount' }
        },
        {
            title: '及时性说明',
            width: 200,
            dataIndex: 'statisticsOpinion',
            ellipsis: true,
            slots: { customRender: 'statisticsOpinion' }
        }
    ],
    columnsD: [
        {
            title: '业务需求名称',
            dataIndex: 'requestName'
        },
        {
            title: '发起部门',
            dataIndex: 'initiatorDept'
        },
        {
            title: '简述',
            dataIndex: 'requestDesc',
            width: 600,
            slots: { customRender: 'requestDesc' },
            ellipsis: true
        },
        {
            title: '上线时间',
            dataIndex: 'onlineTime',
            slots: { customRender: 'onlineTime' }
        }

    ]
};
export const detailWaicaiData = {
    columnsA: [
        {
            title: '版本号',
            dataIndex: 'versionNumber',
            ellipsis: true
        },
        {
            title: '版本名称',
            dataIndex: 'versionName',
            ellipsis: true,
            slots: { customRender: 'versionName' }
        },
        {
            title: '实际合计成本',
            width: 100,
            dataIndex: 'realTotalCost'
        },
        {
            title: '计划需求数',
            width: 100,
            dataIndex: 'planProductCount'
        }, {
            title: '上线需求数',
            width: 100,
            dataIndex: 'onlineProductCount'
        },
        {
            title: '完成率',
            dataIndex: 'completePercent',
            width: 80,
            slots: { customRender: 'completePercent' }
        },
        {
            title: '通过的测试用例',
            width: 120,
            dataIndex: 'passTestCast'
        },
        {
            title: '未执行的测试用例',
            width: 130,
            dataIndex: 'naTestCast'
        },
        {
            title: '不通过的测试用例',
            width: 130,
            dataIndex: 'failTestCast'
        },
        {
            title: '研发中bug数',
            width: 100,
            dataIndex: 'randdBugCount'
        }
    ],
    columnsB: [
        {
            title: '需求类型',
            width: 100,
            dataIndex: 'requireType',
            slots: { customRender: 'requireType' }
        },
        {
            title: '产品需求',
            dataIndex: 'requireName',
            ellipsis: true
        },
        {
            title: '预发布版本号',
            dataIndex: 'relateVersionNumber',
            ellipsis: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            width: 80,
            slots: { customRender: 'status' }
        },
        {
            title: '人天价格',
            width: 80,
            dataIndex: 'unitPrice'
        },
        {
            title: '人天数',
            width: 80,
            dataIndex: 'manDay'
        },
        {
            title: '预估成本',
            width: 80,
            dataIndex: 'planCost'
        },
        {
            title: '计划上线',
            width: 200,
            dataIndex: 'expectTime',
            slots: { customRender: 'expectTime' }
        },
        {
            title: '未完成原因',
            dataIndex: 'statisticsOpinion',
            width: 330,
            ellipsis: true,
            slots: { customRender: 'statisticsOpinion' }
        }
    ],
    columnsC: [
        {
            title: '需求类型',
            width: 100,
            dataIndex: 'requireType',
            slots: { customRender: 'requireType' }
        },
        {
            title: '产品需求',
            dataIndex: 'requireName',
            ellipsis: true
        },
        {
            title: '预发布版本号',
            dataIndex: 'relateVersionNumber',
            ellipsis: true
        },
        {
            title: '状态',
            dataIndex: 'status',
            width: 80,
            slots: { customRender: 'status' }
        },
        {
            title: '人天价格',
            width: 80,
            dataIndex: 'unitPrice'
        },
        {
            title: '人天数',
            width: 80,
            dataIndex: 'manDay'
        },
        {
            title: '预估成本',
            width: 80,
            dataIndex: 'planCost'
        },
        {
            title: '计划上线',
            dataIndex: 'expectTime',
            width: 120,
            slots: { customRender: 'expectTime' }
        },
        {
            title: '实际上线',
            dataIndex: 'versionOnlineTime',
            width: 120,
            slots: { customRender: 'versionOnlineTime' }
        },
        {
            title: '数据分析',
            dataIndex: 'riskCount',
            width: 130,
            slots: { customRender: 'riskCount' }
        },
        {
            title: '及时性说明',
            width: 200,
            dataIndex: 'statisticsOpinion',
            ellipsis: true,
            slots: { customRender: 'statisticsOpinion' }
        }
    ]
};
// jira issue
export const detailJiraIssueData = {
    columnsB: [
        {
            title: '需求名称',
            dataIndex: 'summary',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'summary' }
        },
        {
            title: '关键字',
            dataIndex: 'issueKey',
            width: 100
        },
        {
            title: 'issue 状态',
            dataIndex: 'status',
            width: 100
        },
        {
            title: '需求类型',
            dataIndex: 'issueType',
            width: 80
        },
        {
            title: 'sprint',
            align: 'center',
            dataIndex: 'sprint',
            ellipsis: true,
            width: 150,
            slots: { customRender: 'sprint' }
        },
        {
            title: 'SP',
            width: 100,
            align: 'center',
            dataIndex: 'storyPoints',
            slots: { customRender: 'storyPoints' }
        },
        {
            title: '预估工时',
            width: 100,
            align: 'center',
            dataIndex: 'aggregateTimeOriginalEstimate',
            slots: { customRender: 'aggregateTimeOriginalEstimate' }
        },
        {
            title: '实际耗时',
            width: 100,
            align: 'center',
            dataIndex: 'aggregateTimeSpent',
            slots: { customRender: 'aggregateTimeSpent' }
        },
        {
            title: '未完成原因',
            dataIndex: 'statisticsOpinion',
            width: 330,
            ellipsis: true,
            slots: { customRender: 'statisticsOpinion' }
        }
    ],
    columnsC: [
        {
            title: '需求名称',
            dataIndex: 'summary',
            width: 300,
            ellipsis: true,
            slots: { customRender: 'summary' }
        },
        {
            title: '关键字',
            dataIndex: 'issueKey',
            width: 100
        },
        {
            title: 'issue 状态',
            dataIndex: 'status',
            width: 100
        },
        {
            title: '需求类型',
            dataIndex: 'issueType',
            width: 80
        },
        {
            title: 'sprint',
            align: 'center',
            dataIndex: 'sprint',
            ellipsis: true,
            width: 150,
            slots: { customRender: 'sprint' }
        },
        {
            title: 'SP',
            width: 100,
            align: 'center',
            dataIndex: 'storyPoints',
            slots: { customRender: 'storyPoints' }
        },
        {
            title: '预估工时',
            width: 100,
            align: 'center',
            dataIndex: 'aggregateTimeOriginalEstimate',
            slots: { customRender: 'aggregateTimeOriginalEstimate' }
        },
        {
            title: '实际耗时',
            width: 100,
            align: 'center',
            dataIndex: 'aggregateTimeSpent',
            slots: { customRender: 'aggregateTimeSpent' }
        },
        {
            title: '及时性说明',
            width: 200,
            dataIndex: 'statisticsOpinion',
            ellipsis: true,
            slots: { customRender: 'statisticsOpinion' }
        }
    ]
};


